delete df rows where column value = 0: mult cols

25

df.loc[(df[['a', 'b']] != 0).all(axis=1)]

Comments

Submit
0 Comments